package com.woniuxy.service.service;

import com.woniuxy.commons.entity.ServiceItem;
import com.woniuxy.service.utils.PageMessage;

import java.util.List;

public interface ServiceItemService {
    public PageMessage all(int page, int size);
    public PageMessage enableservice(int page, int size);
    public PageMessage disableservice(int page, int size);
    public boolean update(ServiceItem serviceItem);
    public boolean del(int serviceId);
    public boolean add(ServiceItem serviceItem);
    public PageMessage find(String key,int page, int size);

    //终端不分页
    public List<ServiceItem> allenableservice();
    public List<ServiceItem> findenableservice(String key);

}
